<?php

namespace JLPay\Models\Openmerch\Bill;

use JLPay\Models\BaseRequest;

/**
 * 账单下载查询请求
 */
class BillDownloadQueryRequest extends BaseRequest
{
    /**
     * API URL
     */
    public const API_URL = '/open/bill/download/query';

    protected ?string $billType = null;
    protected ?string $dt = null;

    /**
     * 设置账单类型
     *
     * @param string $billType
     * @return self
     */
    public function setBillType(string $billType): self
    {
        $this->billType = $billType;
        return $this;
    }

    /**
     * 设置账单日期yyyyMMdd
     *
     * @param string $dt 账单日期，格式yyyyMMdd
     * @return self
     */
    public function setDt(string $dt): self
    {
        $this->dt = $dt;
        return $this;
    }

    /**
     * 获取账单类型
     *
     * @return string|null
     */
    public function getBillType(): ?string
    {
        return $this->billType;
    }

    /**
     * 获取账单日期
     *
     * @return string|null
     */
    public function getDt(): ?string
    {
        return $this->dt;
    }
} 